package com.accp.demo.mapper.stock;

import org.apache.ibatis.annotations.Param;

import com.accp.demo.pojo.stock.StockLedger;

public interface IStockLedgerMapper {
	
	//新增库存总账记录
	void insert(StockLedger stockLedger);
	//逻辑删除库存总账记录
	void delete(@Param("wareNo")int wareNo,@Param("materialNo")String materialNo);
	//更新库存总账记录
	void update(StockLedger stockLedger);
	//根据仓库编号与物料编号查询库存总账记录
	StockLedger findByWareNoNoAndMaterialNo(@Param("wareNo")int wareNo,@Param("materialNo")String materialNo);
	

}
